package com.hht.baselibs.viewModel

import androidx.lifecycle.ViewModel
import com.hht.baselibs.repository.BaseRepository


/**
 * Author:chen'hu
 * Time:2023/7/31 11:38
 * Description:This is BaseViewModel
 */
abstract class BaseViewModel : ViewModel() {
    protected var mRepository: BaseRepository

    init {
        mRepository = getRepository()
    }

    abstract fun getRepository(): BaseRepository
}